﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Aandelendelen.Controls
{
	public partial class ErrorMessageControl : System.Web.UI.UserControl
	{
		protected void Page_Load(object sender, EventArgs e)
		{
		}

		public void Show()
		{
			this.Visible = true;
			this.Panel1.Visible = true;
		}

		public void Hide()
		{
			this.Visible = false;
			this.Panel1.Visible = false;
		}

		public string Text
		{
			get { return this.lblMessage.Text; }
			set { this.lblMessage.Text = value; }
		}
	}
}